<template>
  <div>
    <kuang :list="list"></kuang>
    <finish></finish>
  </div>
</template>

<script>
import kuang from './components/kuang.vue'
import finish from './components/finish.vue'

export default {
  components: {
    kuang,
    finish,
  },
  data() {
    return {
      list: [],
    }
  },
  mounted() {
    this.list = Array(10)
      .fill('')
      .map((item, index) => ({
        num1: Math.floor(Math.random() * 10),
        num2: Math.floor(Math.random() * 10),
        result: '',
        status: 0,
        id: index,
      }))
  },
}
</script>

<style></style>
